package com.zis.platform.web;

import com.zis.platform.service.IDictionaryInter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * Create by wangshen 2017/12/25
 */
@RestController
@RequestMapping("/api/open/sys/dict")
public class DictionaryRestful {

    @Autowired
    private IDictionaryInter dictionaryInter;

    @RequestMapping(value = "/json", method = RequestMethod.GET)
    @ResponseBody
    public String findDictJson() throws Exception {
        return dictionaryInter.findDictJson();
    }
}
